<div class="modal-header" id="scope">
	<h3 class="modal-title" ng-if="param.type == 'insert'">新增</h3>
	<h3 class="modal-title" ng-if="param.type == 'update'">修改</h3>
</div>
<div class="modal-body">
	<form name="myForm" class="form-horizontal form-validation">
		<div class="panel panel-default">
			<div class="panel-body">
				<div class="form-group">
					<label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>姓名：</label>
					<div class="col-sm-5">
						<input type="text" class="form-control" placeholder="姓名"
							ng-model="param.data.name" ng-maxlength="100" required>
					</div>
					<p>必填。</p>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label">&nbsp</span>手机：</label>
					<div class="col-sm-5">
						<input type="text" class="form-control" placeholder="手机"
							ng-model="param.data.phone"
							ng-pattern="/^[]|(1[3|4|5|7|8][0-9]\d{8})$/" required />
					</div>
					<p>11位手机号。</p>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>身份证号：</label>
					<div class="col-sm-5">
						<input type="text" class="form-control" placeholder="身份证号" ng-model="param.data.idCard"
							ng-pattern="/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/"
							ng-maxlength="18" required/>
					</div>
					<p>18位身份证号，唯一不可重复。</p>
				</div>
			<footer class="panel-footer text-right bg-light lter">
				<button class="btn btn-default" type="button" ng-click="cancel()">取消</button>
				<button type="submit" class="btn btn-success" ng-click="ok()">提交</button>
			</footer>
		</div>
	</form>
</div>